#include "junix.h"

#include <tr1/unordered_set>

using namespace std;

int main(int argc, char **argv)
{
	typedef std::tr1::unordered_set<std::string> USETS;
	USETS sset;

	std::ifstream file(__FILE__);
	std::string line;
	while( std::getline(file, line))
	{
		std::stringstream sm(line);
		std::string word;
		while(sm>>word)
			sset.insert(word);
	}

	file.close();

	std::copy(sset.begin(),sset.end(),
			std::ostream_iterator<std::string>(std::cout, "\n"));

	std::cout<<sset.load_factor()<<std::endl;
}
